
public class Invoker {

InformationAggregator agg = new InformationAggregator();
	
Object cmd;

	public Object getMenu()
	{		
		cmd = new GetMenuCmd(agg);
		return ((GetMenuCmd) cmd).execute();
	}
	
	public Object getHeartHealthyMenu()
	{		
		cmd = new GetHeartHealthyMenuCmd(agg);
		return ((GetHeartHealthyMenuCmd) cmd).execute();
	}
	
	public Object getMenuByPrice(Double price)
	{		
		cmd = new GetMenuByPrice(agg, price);
		return ((GetMenuByPrice) cmd).execute();
	}
	
	public Object getMenuByIngredient(String ingredient)
	{		
		cmd = new GetMenuByIngredient(agg, ingredient);
		return ((GetMenuByIngredient) cmd).execute();
	}
}
